Context. The Jupiter-family comet 81P/Wild 2, target of the NASA Stardust mission, is very important in the context of the studies of pristine objects in the solar system. First, it was only recently deflected into the present orbit, having spent at least 300 yr at higher heliocentric distance prior to the orbital change in 1974. It is therefore likely that the comet experienced a recent activation with consequent low alteration of its original material. Second, it is the only comet whose coma material was brought back to Earth for laboratory analysis. We observed the object between 2010 February 9 and September 9 for a total of 11 nights during the 2010 perihelion passage. Aims. The goals of the campaign were the characterization of the comet's dust activity and the comparison with previous apparitions to derive hints on the secular behavior of the object. Methods. Broadband R-and I-images were acquired using three instruments: ALFOSC, CAMELOT, and TCP. The first one is mounted at the Nordic Optical Telescope on La Palma, while the second and the third are mounted at the Instituto de Astrofisica de Canarias 0.82-m telescope on Tenerife. We analyzed the presence and variability of dust structures in the coma with image-enhancing techniques, the radial profile of the dust brightness, and we measured the dust production rate and the dust reddening. Results. We found evidence of a long-lasting sunward fan and anti-solar tail activity throughout all our observations up to a heliocentric distance of 2.42 AU. A f ρ measurements suggest a pre-perihelion peak of the activity, caused by a seasonal effect, plus two post-perihelion outbursts. Both spatial and A f ρ radial profiles indicate a steady-state coma at nucleocentric distances greater than ∼1000-2000 km. The color analysis reveals a moderately reddened dust with a 6-9%/1000 Å reddening, consistent with the current picture of cometary dust. The second outburst emitted dust with lower reddening. Conclusions. The comparison with previous perihelion passages points toward a recurrent main activity always driven by the same areas on the nucleus, producing dust with similar characteristics and in similar coma structures in different years. Our A f ρ measurement at the longest heliocentric distance suggests the comet was less dust-productive in 2010, pointing toward a possible secular aging of the object and its activity. The change of dust colors during the unusual second outburst suggests that an internal part of the nucleus has different physical properties compared with those that produce the recurrent main activity, pointing toward a heterogeneous comet.