It would probably be better if you make an example model and post it, otherwise it's hard to grasp or even explain.
But here are some pointers:
if you want movable joints add them to a movable group(create a box, then create a hinge, now group them together)
if you want those joints stuck to a static object simply create a new box, make it static, then connect the movable joint to the static box