I wondered who Joe Pye was - here is a possibility:
"Joe Pye reputedly was an Indian healer who lived in colonial New England, and who used this herb to cure typhoid and other fevers. Another possible source of the name is jopi-an Indian word for typhoid so another name is jopiweed."
St. Olaf College
I think I favour the second idea...