Oh man, okay, I'm going to be This Person (sorry). But if you want a really great read about the formation and foundation of the English language, written by an enormously charming and funny Englishman, read "The Mother Tongue" by Bill Bryson. It's not too scholarly, a very fun and interesting book, and if that's not enough, there's an entire chapter about where English swear words come from.
Steampug's comments