The Mastervolt would be an add on--not a factory item. Who did it may have used the original wiring, or had used new wiring. Not only where is the charger but where is the battery. Usually the wiring is most direct--it will go into a loom. If the boat has 110 V from the factory, the original charger is most likely under a dinette seat, or under the galley.
Agree with Greg--Tell us where the charger is. I always carry about 20 feet of wire for testing (and some more for repairs if needed). Disconnect the wiring you have at the charger. You can take a "jumper" from the Plus and negative of the charger to the battery--for this you can use cheap #14 automotive wiring. If you were going to put in new wiring (which I probably would do, since the factory wiring is not heavy enough for that charger), I would use at least #12, duplex red/yellow; in vinyl sheath. (Ancor tinned, marine wire, or equivalent). Use a good ratchet swagger, and use adhesive lined shrink fittings or heat shrink each connetion--use some conductive non corrosive grease under each terminal. Be sure that the ring is the correct size (5/16 or 3/8 on the battery terminal, and #10 or what screw size on the output--it could be a clamp type--in that case I would tin the end of the wire with solder.
It may well be that there is a bad ground connection--I have found that just as often as it was a bad wire. Corrosion is the biggest electrical problem we see. At one of the gatherings, I found every single electrical problem was due to increased resistance due to corrosion of some degree.
Learning to use a good digital volt meter is one of the primary skills for electrical and electronics trouble shooting. Having jumper wires (I have alligator clips on the end of mine, so it is fast to do the trouble shooting.)