I'd have to agree - if you've narrowed it down to only on rough terrain...its most likely a connection - and I'd suggest something in the system closer to the battery than further....
If you have a stand, while bike is on - can you duplicate with moving battery and the like...
Should still be...