Hi cyimxtck,
I would suggest you to:
1. Identify the most commonly used joins and create them as VIEWs.
2. Create a basic query which joins every TABLEs and the VIEWs you created in 1.
3. Generalize few most commonly used JOINs and create separate queries for them.
4. Put 2. & 3. together and wrap them with IF checking statement.