A beam shaping system (BSS) for improving the throughput of a dispersive spectrometer is presented by employing two anamorphic lenses and a prism array to segment the beam. The BSS was designed based on the inverse method of beam shaping for laser diode bars and the means of an optical slicer. In an experiment, a BSS was set up so that the incident light of a neon lamp with a circular spot from an input fiber was transformed into an elliptical spot coupled into a slit of a spectrometer without a change of divergence. Spectral measurement results demonstrate that the throughput of the dispersive spectrometer was doubled without loss of spectral resolution. The BSS can be combined with the existing dispersive spectrometer to improve the luminous flux and signal-to-noise ratio.