You'd have better luck buying a cheap A/C adapter that has the same sized connector on it. Use a meter to see which wire goes to which side of the connector, then cut both off. Splice the new one onto the old one's cable according to the polarity you determined with the meter. Power it on, and measure the voltage at the connector to make absolutely sure you got the polarity right before plugging it into your device.