Yep, as Gav said, connect the grounds wherever it's most convenient, either a common ground point or to their respective pot casings. As long as there is a solid consistent path to the jack ground from any individual grounding point you'll be fine.
Due to the minimal shielding options for hollowbodies it's generally considered good practice to ensure there's only a single path to ground from any given point. So, ideally it would go from jack ground -> pot casing -> pot casing etc. and branch off to pickup grounds etc. where needed, as long as there's no other ground paths back from a specific branch.