Ray tracing is a forward method to calculate the photometric variables at the target of a non-imaging optical system. In this paper, a new ray tracing technique is presented to improve the accuracy and to reduce the computational time of the classical ray tracing approach. The method is based on the phase space representation of the source and the target of the optical system, and it is applied to a two-dimensional TIR-collimator. The strength of the method lies in tracing fewer rays through the system. Only rays that lie in the meridional plane are considered. A procedure that disregards rays in smooth regions in phase space, where the luminance is continuous, is implemented and only the rays close to discontinuities are traced. The efficiency of the method is demonstrated by numerical simulations that compare the new method with Monte Carlo ray tracing. The results show that the phase space approach is faster and more accurate than the already existing ray tracing method; moreover the phase space method converges as one over the number of rays traced unlike Monte Carlo ray tracing in which the speed of convergence is proportional to one over the square root of the number of rays.