If the charger is not working, you may need to replace the charger. What model Asus laptop do you have? I could help you out with buying a new charger
As far as I know, there is no way to actually replace the parts of a charger without messing it up. I think that you can't even open them up but I am not too sure.