A study of dijet production in proton-proton collisions was performed at root s = 7 TeV for jets with p(T) > 35 GeV and vertical bar y vertical bar < 4.7 using data collected with the CMS detector at the LHC in 2010. Events with at least one pair of jets are denoted as "inclusive". Events with exactly one pair of jets are called "exclusive". The ratio of the cross section of all pairwise combinations of jets to the exclusive dijet cross section as a function of the rapidity difference between jets vertical bar Delta y vertical bar is measured for the first time up to vertical bar Delta y vertical bar = 9.2. The ratio of the cross section for the pair consisting of the most forward and the most backward jet from the inclusive sample to the exclusive dijet cross section is also presented. The predictions of the Monte Carlo event generators PYTHIA6 and PYTHIA8 agree with the measurements. In both ratios the HERWIG++ generator exhibits a more pronounced rise versus vertical bar Delta y vertical bar than observed in the data. The BFKL-motivated generators CASCADE and HEJ+ARIADNE predict for these ratios a significantly stronger rise than observed.