Yes, find a connector with attached cable from somewhere (ebay or junk box). Chop off your old connector and re-solder the new connector in place. Keep the overall cable length the same as it is now otherwise it may not fit back into the laptop. Insulate the wire joints with thin silicon rubber sleeving. May be worth staggering the position of the cuts in the wires to stop it bunching in one big group.
Another way would be push the pins back in the plug as far as they go, then apply a small amount of hot glue at the back to hold them in. Not very nice but it would work at a pinch.
A proper fix would involve buying a new fan/heatink assembly, or buying a crimp tool and changing the plug, but then the wires may be too short depending on how tight the fit is to the laptop socket.
Hope that helps.