Extended thermodynamics for dense gases up to whatever order