More than likely it's a fully moulded construction so you would have to cut and re-terminate the wires, provided you know which pin to connect to (you can buy the Plugs from RS components).
Is it an expensive keyboard? May be easier all round to bite the bullet and buy another one!