I don't have access to the full OED until tomorrow morning, but from what I can discover at a lesser library jury-rigged is a derivation of jerry-rigged, which may have been influenced by jerry-built. One source suggested it was coined by British troops in WWI to describe captured German trenches and their contents.