Aims. Understand the shape and implications of the multiband light curve of GRB 050408, an X-ray rich (XRR) burst. Methods. We present a multiband optical light curve, covering the time from the onset of the gamma-ray event to several months after, when we only detect the host galaxy. Together with X-ray, millimetre and radio observations we compile what, to our knowledge, is the most complete multiband coverage of an XRR burst afterglow to date. Results. The optical and X-ray light curve is characterised by an early flattening and an intense bump peaking around 6 days after the burst onset. We explain the former by an off-axis viewed jet, in agreement with the predictions made for XRR by some models, and the latter with an energy injection equivalent in intensity to the initial shock. The analysis of the spectral flux distribution reveals an extinction compatible with a low chemical enrichment surrounding the burst. Together with the detection of an underlying starburst host galaxy we can strengthen the link between XRR and classical long-duration bursts.