Further to last night, according to the full OED there's no connection between jury-rigged and jerry-built. Jury built, as Mark's link above states, is a naval term deriving from jury-mast, which is simply a term for a temporary mast which has been damaged or carried away. The earliest reference is 1616 so we can discount the WWI story. The OED has no verifiable evidence as to its origin.